import random
REDLIST = []
BLUELIST = []
while len(REDLIST) < 5:
    num = random.randint(1,35)
    if num not in REDLIST:
        REDLIST.append(num)
while len(BLUELIST) < 2:
    num = random.randint(1,8)
    if num not in BLUELIST:
        BLUELIST.append(num)
print("红色：")
print(REDLIST)
print("蓝色：")
print(BLUELIST)